package com.djx.postgre.service;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.djx.postgre.entity.Tachographs;
import com.djx.postgre.mapper.TachographsMapper;
 
/**
 * @creator wangli66
 * @create-time 17:14 2019/12/26
 **/
@Service
public class TachographsService {
	@Autowired
    private TachographsMapper mapper;
 
    public void insert(Tachographs model) {
    	mapper.insert(model);
    }

	public List<Tachographs> getByModel(Tachographs model) {
		return mapper.getByModel(model);
	}
}